cc=g++
.PHONY:all 
all:client server

client:client.cc
	$(cc) -o $@ $^ -std=c++11 -g
server:server.cc
	$(cc) -o $@ $^ -std=c++11 -lpthread -g

.PHONY:clean
clean:
	rm -f client server